package com.chalk.vo;

import com.chalk.model.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @date: 2019-03-28 下午 03:07
 * @author: zhaobo0119@outlook.com
 * @Descriptopn:
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUserVo extends SysUser {

   // @NotEmpty(message = "用户名不可为空")
    private String userName;

    @NotEmpty(message = "密码不可为空")
    private String password;

    @NotEmpty(message = "确认密码不可为空")
    private String confirmPwd;

    @NotEmpty(message = "真实姓名不可为空")
    private String realName;

    @NotEmpty(message = "角色不可为空")
    private String[] roleIds;

    @NotEmpty(message = "手机不可为空")
    private String mobilePhone;

    @NotNull(message = "是否可用不可为空")
    private Integer isAvailable;
    ;

    @NotNull(message = "是否锁定不可为空")
    private Integer loginLockStatus;

    private String sellerName;
}
